package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.SystemUser;
import com.atguigu.lease.web.admin.vo.login.CaptchaVo;
import com.atguigu.lease.web.admin.vo.login.LoginVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface LoginService extends IService<SystemUser> {

    /**
     * 获取验证码
     * @return
     */
    CaptchaVo getCaptcha();
    /**
     * 登录
     * @param loginVo
     * @return
     */
    String login(LoginVo loginVo);
}
